data = [
    {"姓名": "刘备", "年龄": 30, "薪资": 25000, "地区": "北京"},
    {"姓名": "曹操", "年龄": 34, "薪资": 30000, "地区": "上海"},
    {"姓名": "张飞", "年龄": 31, "薪资": 12000, "地区": "大连"},
]

# 筛选薪资大于20000的数据
filtered_data = [row for row in data if row["薪资"] > 20000]

print("姓名\t年龄\t薪资\t\t地区")
for row in filtered_data:
    print(f"{row['姓名']}\t{row['年龄']}\t{row['薪资']}\t{row['地区']}")
